﻿<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:xn="http://www.renren.com/2009/xnml"
	template="/templates/home.xhtml">

	<ui:param name="title" value="登录" />
	
	<ui:define name="content">
	
		<h:panelGrid columns="3" cellspacing="10px" columnClasses="colRight,colLeft,colLeft" style="margin:30px auto;">
			
			<f:facet name="header">
				<h:outputText value="登录"/>
			</f:facet>
			
			<h:panelGroup style="width:100px;">
				<h:outputText value="帐号"/>
			</h:panelGroup>
			<h:panelGroup style="width:200px">
				<h:inputText styleClass="input1" id="textMail"/>
			</h:panelGroup>
			<h:panelGroup>
				<h:message for="textMail"/>
			</h:panelGroup>
			
			<h:outputText value="密码"/>
			<h:inputSecret styleClass="input1"/>
			<a4j:commandLink value="忘记密码"/>
			
			<h:outputText value=""/>
			<h:panelGroup>
			<h:selectBooleanCheckbox ></h:selectBooleanCheckbox>下次自动登录
			</h:panelGroup>
			<h:outputText value=""/>
			
			<h:outputText value=""/>
			<h:commandButton action="#{LoginHandler.login}" styleClass="inputButton" value="登录"/>
			<h:outputText value=""/>
			
		</h:panelGrid>
		
		<xn:login-button autologoutlink="true"></xn:login-button>
			<script type="text/javascript" src="http://static.connect.renren.com/js/v1.0/FeatureLoader.jsp"></script>
 			<script type="text/javascript">
   			XN_RequireFeatures(["EXNML"], function()
   			{
     				XN.Main.init("16356ddc758343a39400837e79f1a18e", "/xd_receiver.html");
   			});
		</script>
		
	</ui:define>
</ui:composition>
